<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

</body>
<script src="./index.js"></script>
<script>
	// 1- Promise实例拥有两个实例属性：state和result
	// 2- state的初始值为pending,result的初始值为undefined
	const p = new Promise(function(){
	});
	console.log(p);
</script>
</html>